<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IgH EtherCAT Master: slave_config.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IgH EtherCAT Master
   &#160;<span id="projectnumber">1.5.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('slave__config_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">slave_config.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>EtherCAT slave configuration methods.  
<a href="#details">More...</a></p>

<p><a href="slave__config_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a89e3c5573a34a9e495cf6b467e223af4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a89e3c5573a34a9e495cf6b467e223af4">ec_slave_config_init</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, <a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *master, uint16_t alias, uint16_t position, uint32_t vendor_id, uint32_t product_code)</td></tr>
<tr class="memdesc:a89e3c5573a34a9e495cf6b467e223af4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave configuration constructor.  <a href="#a89e3c5573a34a9e495cf6b467e223af4">More...</a><br /></td></tr>
<tr class="separator:a89e3c5573a34a9e495cf6b467e223af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76d9ec03885e1734c4ca7fd27490b193"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a76d9ec03885e1734c4ca7fd27490b193">ec_slave_config_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:a76d9ec03885e1734c4ca7fd27490b193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave configuration destructor.  <a href="#a76d9ec03885e1734c4ca7fd27490b193">More...</a><br /></td></tr>
<tr class="separator:a76d9ec03885e1734c4ca7fd27490b193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c908bc3c5044575e96e5dc1554c9bc1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a6c908bc3c5044575e96e5dc1554c9bc1">ec_slave_config_prepare_fmmu</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *domain, uint8_t sync_index, <a class="el" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a> dir)</td></tr>
<tr class="memdesc:a6c908bc3c5044575e96e5dc1554c9bc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepares an FMMU configuration.  <a href="#a6c908bc3c5044575e96e5dc1554c9bc1">More...</a><br /></td></tr>
<tr class="separator:a6c908bc3c5044575e96e5dc1554c9bc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb5cb481f42d644f581e52d5c876bfb9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#abb5cb481f42d644f581e52d5c876bfb9">ec_slave_config_attach</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:abb5cb481f42d644f581e52d5c876bfb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches the configuration to the addressed slave object.  <a href="#abb5cb481f42d644f581e52d5c876bfb9">More...</a><br /></td></tr>
<tr class="separator:abb5cb481f42d644f581e52d5c876bfb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8f9c0e68dfe4781fa922ca9c4ec7e94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#af8f9c0e68dfe4781fa922ca9c4ec7e94">ec_slave_config_detach</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:af8f9c0e68dfe4781fa922ca9c4ec7e94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detaches the configuration from a slave object.  <a href="#af8f9c0e68dfe4781fa922ca9c4ec7e94">More...</a><br /></td></tr>
<tr class="separator:af8f9c0e68dfe4781fa922ca9c4ec7e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e2c05644e14f2168967f8559ab3ee35"><td class="memItemLeft" align="right" valign="top"><a id="a3e2c05644e14f2168967f8559ab3ee35"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a3e2c05644e14f2168967f8559ab3ee35">ec_slave_config_load_default_sync_config</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:a3e2c05644e14f2168967f8559ab3ee35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the default PDO assignment from the slave object. <br /></td></tr>
<tr class="separator:a3e2c05644e14f2168967f8559ab3ee35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8e139fa8f726c589bccc8e5ee9447c2"><td class="memItemLeft" align="right" valign="top"><a id="aa8e139fa8f726c589bccc8e5ee9447c2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#aa8e139fa8f726c589bccc8e5ee9447c2">ec_slave_config_load_default_mapping</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, <a class="el" href="structec__pdo__t.html">ec_pdo_t</a> *pdo)</td></tr>
<tr class="memdesc:aa8e139fa8f726c589bccc8e5ee9447c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the default mapping for a PDO from the slave object. <br /></td></tr>
<tr class="separator:aa8e139fa8f726c589bccc8e5ee9447c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0ad39c4f100b0d18140b38db27fa52f"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#ae0ad39c4f100b0d18140b38db27fa52f">ec_slave_config_sdo_count</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:ae0ad39c4f100b0d18140b38db27fa52f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of SDO configurations.  <a href="#ae0ad39c4f100b0d18140b38db27fa52f">More...</a><br /></td></tr>
<tr class="separator:ae0ad39c4f100b0d18140b38db27fa52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6ccda0b55f86c5cd0e77ec5b51fac56"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#ae6ccda0b55f86c5cd0e77ec5b51fac56">ec_slave_config_get_sdo_by_pos_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int pos)</td></tr>
<tr class="memdesc:ae6ccda0b55f86c5cd0e77ec5b51fac56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds an SDO configuration via its position in the list.  <a href="#ae6ccda0b55f86c5cd0e77ec5b51fac56">More...</a><br /></td></tr>
<tr class="separator:ae6ccda0b55f86c5cd0e77ec5b51fac56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a833fa6107e6071bf7e37df298dcd41ac"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a833fa6107e6071bf7e37df298dcd41ac">ec_slave_config_idn_count</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:a833fa6107e6071bf7e37df298dcd41ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of IDN configurations.  <a href="#a833fa6107e6071bf7e37df298dcd41ac">More...</a><br /></td></tr>
<tr class="separator:a833fa6107e6071bf7e37df298dcd41ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5767eb592be624ea3af8dfae05d7622d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structec__soe__request__t.html">ec_soe_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a5767eb592be624ea3af8dfae05d7622d">ec_slave_config_get_idn_by_pos_const</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int pos)</td></tr>
<tr class="memdesc:a5767eb592be624ea3af8dfae05d7622d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds an IDN configuration via its position in the list.  <a href="#a5767eb592be624ea3af8dfae05d7622d">More...</a><br /></td></tr>
<tr class="separator:a5767eb592be624ea3af8dfae05d7622d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e431ae80ee0465f6629ff33ef3e8290"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a0e431ae80ee0465f6629ff33ef3e8290">ec_slave_config_find_sdo_request</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int pos)</td></tr>
<tr class="memdesc:a0e431ae80ee0465f6629ff33ef3e8290"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a CoE handler via its position in the list.  <a href="#a0e431ae80ee0465f6629ff33ef3e8290">More...</a><br /></td></tr>
<tr class="separator:a0e431ae80ee0465f6629ff33ef3e8290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23fe8c4e37cd9bea5cc346edfd890963"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a23fe8c4e37cd9bea5cc346edfd890963">ec_slave_config_find_reg_request</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int pos)</td></tr>
<tr class="memdesc:a23fe8c4e37cd9bea5cc346edfd890963"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a register handler via its position in the list.  <a href="#a23fe8c4e37cd9bea5cc346edfd890963">More...</a><br /></td></tr>
<tr class="separator:a23fe8c4e37cd9bea5cc346edfd890963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae096a128f1552f49f5f048a2a08a5beb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga498dd422118de7095af5287ef9a6eed1">ec_voe_handler_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#ae096a128f1552f49f5f048a2a08a5beb">ec_slave_config_find_voe_handler</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int pos)</td></tr>
<tr class="memdesc:ae096a128f1552f49f5f048a2a08a5beb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a VoE handler via its position in the list.  <a href="#ae096a128f1552f49f5f048a2a08a5beb">More...</a><br /></td></tr>
<tr class="separator:ae096a128f1552f49f5f048a2a08a5beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ac6eae111bdbf1d4cd09fa2f965a887"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga4ac6eae111bdbf1d4cd09fa2f965a887">ecrt_slave_config_sync_manager</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t sync_index, <a class="el" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a> dir, <a class="el" href="group__ApplicationInterface.html#gaa31bcc2beed6a1f62ec495337c239177">ec_watchdog_mode_t</a> watchdog_mode)</td></tr>
<tr class="memdesc:ga4ac6eae111bdbf1d4cd09fa2f965a887"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure a sync manager.  <a href="group__ApplicationInterface.html#ga4ac6eae111bdbf1d4cd09fa2f965a887">More...</a><br /></td></tr>
<tr class="separator:ga4ac6eae111bdbf1d4cd09fa2f965a887"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba67c3e575110297f9fdcffad573d367"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaba67c3e575110297f9fdcffad573d367">ecrt_slave_config_watchdog</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t divider, uint16_t intervals)</td></tr>
<tr class="memdesc:gaba67c3e575110297f9fdcffad573d367"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure a slave's watchdog times.  <a href="group__ApplicationInterface.html#gaba67c3e575110297f9fdcffad573d367">More...</a><br /></td></tr>
<tr class="separator:gaba67c3e575110297f9fdcffad573d367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef2958fe19c088978857e7b91f692630"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaef2958fe19c088978857e7b91f692630">ecrt_slave_config_pdo_assign_add</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t sync_index, uint16_t pdo_index)</td></tr>
<tr class="memdesc:gaef2958fe19c088978857e7b91f692630"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a PDO to a sync manager's PDO assignment.  <a href="group__ApplicationInterface.html#gaef2958fe19c088978857e7b91f692630">More...</a><br /></td></tr>
<tr class="separator:gaef2958fe19c088978857e7b91f692630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc2fb2a662bd8129dea5330e5e313b5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gafc2fb2a662bd8129dea5330e5e313b5f">ecrt_slave_config_pdo_assign_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t sync_index)</td></tr>
<tr class="memdesc:gafc2fb2a662bd8129dea5330e5e313b5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear a sync manager's PDO assignment.  <a href="group__ApplicationInterface.html#gafc2fb2a662bd8129dea5330e5e313b5f">More...</a><br /></td></tr>
<tr class="separator:gafc2fb2a662bd8129dea5330e5e313b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a0f83e1c3e3edf978b3017f94cc375d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga3a0f83e1c3e3edf978b3017f94cc375d">ecrt_slave_config_pdo_mapping_add</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t pdo_index, uint16_t entry_index, uint8_t entry_subindex, uint8_t entry_bit_length)</td></tr>
<tr class="memdesc:ga3a0f83e1c3e3edf978b3017f94cc375d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a PDO entry to the given PDO's mapping.  <a href="group__ApplicationInterface.html#ga3a0f83e1c3e3edf978b3017f94cc375d">More...</a><br /></td></tr>
<tr class="separator:ga3a0f83e1c3e3edf978b3017f94cc375d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8496abee3bd32fec5ffd74bf4705cc53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga8496abee3bd32fec5ffd74bf4705cc53">ecrt_slave_config_pdo_mapping_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t pdo_index)</td></tr>
<tr class="memdesc:ga8496abee3bd32fec5ffd74bf4705cc53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the mapping of a given PDO.  <a href="group__ApplicationInterface.html#ga8496abee3bd32fec5ffd74bf4705cc53">More...</a><br /></td></tr>
<tr class="separator:ga8496abee3bd32fec5ffd74bf4705cc53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bc2683699a5c0c551f0cfdc90c1a559"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga7bc2683699a5c0c551f0cfdc90c1a559">ecrt_slave_config_pdos</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, unsigned int n_syncs, const <a class="el" href="structec__sync__info__t.html">ec_sync_info_t</a> syncs[])</td></tr>
<tr class="memdesc:ga7bc2683699a5c0c551f0cfdc90c1a559"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specify a complete PDO configuration.  <a href="group__ApplicationInterface.html#ga7bc2683699a5c0c551f0cfdc90c1a559">More...</a><br /></td></tr>
<tr class="separator:ga7bc2683699a5c0c551f0cfdc90c1a559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44fe6bd549328c34ca4ed6893765206f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga44fe6bd549328c34ca4ed6893765206f">ecrt_slave_config_reg_pdo_entry</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *domain, unsigned int *bit_position)</td></tr>
<tr class="memdesc:ga44fe6bd549328c34ca4ed6893765206f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a PDO entry for process data exchange in a domain.  <a href="group__ApplicationInterface.html#ga44fe6bd549328c34ca4ed6893765206f">More...</a><br /></td></tr>
<tr class="separator:ga44fe6bd549328c34ca4ed6893765206f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga757fd3d421f1ded8ee310c4698afb8ba"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga757fd3d421f1ded8ee310c4698afb8ba">ecrt_slave_config_reg_pdo_entry_pos</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t sync_index, unsigned int pdo_pos, unsigned int entry_pos, <a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *domain, unsigned int *bit_position)</td></tr>
<tr class="memdesc:ga757fd3d421f1ded8ee310c4698afb8ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a PDO entry using its position.  <a href="group__ApplicationInterface.html#ga757fd3d421f1ded8ee310c4698afb8ba">More...</a><br /></td></tr>
<tr class="separator:ga757fd3d421f1ded8ee310c4698afb8ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05858fdb5052dfb1161a81d2f8beb553"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga05858fdb5052dfb1161a81d2f8beb553">ecrt_slave_config_dc</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t assign_activate, uint32_t sync0_cycle_time, int32_t sync0_shift_time, uint32_t sync1_cycle_time, int32_t sync1_shift_time)</td></tr>
<tr class="memdesc:ga05858fdb5052dfb1161a81d2f8beb553"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure distributed clocks.  <a href="group__ApplicationInterface.html#ga05858fdb5052dfb1161a81d2f8beb553">More...</a><br /></td></tr>
<tr class="separator:ga05858fdb5052dfb1161a81d2f8beb553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf5b3147d6fa082ed73417cf7aa4e240"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gacf5b3147d6fa082ed73417cf7aa4e240">ecrt_slave_config_sdo</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, const uint8_t *data, size_t size)</td></tr>
<tr class="memdesc:gacf5b3147d6fa082ed73417cf7aa4e240"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an SDO configuration.  <a href="group__ApplicationInterface.html#gacf5b3147d6fa082ed73417cf7aa4e240">More...</a><br /></td></tr>
<tr class="separator:gacf5b3147d6fa082ed73417cf7aa4e240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93e038f9065d20ea3fa5738c495f0ae5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga93e038f9065d20ea3fa5738c495f0ae5">ecrt_slave_config_sdo8</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, uint8_t value)</td></tr>
<tr class="memdesc:ga93e038f9065d20ea3fa5738c495f0ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a configuration value for an 8-bit SDO.  <a href="group__ApplicationInterface.html#ga93e038f9065d20ea3fa5738c495f0ae5">More...</a><br /></td></tr>
<tr class="separator:ga93e038f9065d20ea3fa5738c495f0ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacb7fefc226e3a3c0225c39d233d2fa8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaacb7fefc226e3a3c0225c39d233d2fa8">ecrt_slave_config_sdo16</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, uint16_t value)</td></tr>
<tr class="memdesc:gaacb7fefc226e3a3c0225c39d233d2fa8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a configuration value for a 16-bit SDO.  <a href="group__ApplicationInterface.html#gaacb7fefc226e3a3c0225c39d233d2fa8">More...</a><br /></td></tr>
<tr class="separator:gaacb7fefc226e3a3c0225c39d233d2fa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0a87e59a5448389907652ddb2f5768fd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga0a87e59a5448389907652ddb2f5768fd">ecrt_slave_config_sdo32</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, uint32_t value)</td></tr>
<tr class="memdesc:ga0a87e59a5448389907652ddb2f5768fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a configuration value for a 32-bit SDO.  <a href="group__ApplicationInterface.html#ga0a87e59a5448389907652ddb2f5768fd">More...</a><br /></td></tr>
<tr class="separator:ga0a87e59a5448389907652ddb2f5768fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4231948c36c707fd5bc95e2e813ff7af"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga4231948c36c707fd5bc95e2e813ff7af">ecrt_slave_config_complete_sdo</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, const uint8_t *data, size_t size)</td></tr>
<tr class="memdesc:ga4231948c36c707fd5bc95e2e813ff7af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add configuration data for a complete SDO.  <a href="group__ApplicationInterface.html#ga4231948c36c707fd5bc95e2e813ff7af">More...</a><br /></td></tr>
<tr class="separator:ga4231948c36c707fd5bc95e2e813ff7af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2540078423afe6763c5b7a2554f30bf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gae2540078423afe6763c5b7a2554f30bf">ecrt_slave_config_emerg_size</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, size_t elements)</td></tr>
<tr class="memdesc:gae2540078423afe6763c5b7a2554f30bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of the CoE emergency ring buffer.  <a href="group__ApplicationInterface.html#gae2540078423afe6763c5b7a2554f30bf">More...</a><br /></td></tr>
<tr class="separator:gae2540078423afe6763c5b7a2554f30bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b58a60d15afe8bab546a766653f227f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga6b58a60d15afe8bab546a766653f227f">ecrt_slave_config_emerg_pop</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t *target)</td></tr>
<tr class="memdesc:ga6b58a60d15afe8bab546a766653f227f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read and remove one record from the CoE emergency ring buffer.  <a href="group__ApplicationInterface.html#ga6b58a60d15afe8bab546a766653f227f">More...</a><br /></td></tr>
<tr class="separator:ga6b58a60d15afe8bab546a766653f227f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad61c6ab7adf19f18953f34c8132c30a7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gad61c6ab7adf19f18953f34c8132c30a7">ecrt_slave_config_emerg_clear</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:gad61c6ab7adf19f18953f34c8132c30a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears CoE emergency ring buffer and the overrun counter.  <a href="group__ApplicationInterface.html#gad61c6ab7adf19f18953f34c8132c30a7">More...</a><br /></td></tr>
<tr class="separator:gad61c6ab7adf19f18953f34c8132c30a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad47666902ef543c1233a8fafcaa9e321"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gad47666902ef543c1233a8fafcaa9e321">ecrt_slave_config_emerg_overruns</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc)</td></tr>
<tr class="memdesc:gad47666902ef543c1233a8fafcaa9e321"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the number of CoE emergency overruns.  <a href="group__ApplicationInterface.html#gad47666902ef543c1233a8fafcaa9e321">More...</a><br /></td></tr>
<tr class="separator:gad47666902ef543c1233a8fafcaa9e321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c3525153d28cd7beef58fe017fbebb1"><td class="memItemLeft" align="right" valign="top"><a id="a3c3525153d28cd7beef58fe017fbebb1"></a>
<a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a3c3525153d28cd7beef58fe017fbebb1">ecrt_slave_config_create_sdo_request_err</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, size_t size)</td></tr>
<tr class="memdesc:a3c3525153d28cd7beef58fe017fbebb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__ApplicationInterface.html#ga14aa167c0d4afd84b0fbada417a204f1" title="Create an SDO request to exchange SDOs during realtime operation. ">ecrt_slave_config_create_sdo_request()</a>, but with ERR_PTR() return value. <br /></td></tr>
<tr class="separator:a3c3525153d28cd7beef58fe017fbebb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14aa167c0d4afd84b0fbada417a204f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga14aa167c0d4afd84b0fbada417a204f1">ecrt_slave_config_create_sdo_request</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint16_t index, uint8_t subindex, size_t size)</td></tr>
<tr class="memdesc:ga14aa167c0d4afd84b0fbada417a204f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an SDO request to exchange SDOs during realtime operation.  <a href="group__ApplicationInterface.html#ga14aa167c0d4afd84b0fbada417a204f1">More...</a><br /></td></tr>
<tr class="separator:ga14aa167c0d4afd84b0fbada417a204f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c74750f388718c3e2a1caa374343d8"><td class="memItemLeft" align="right" valign="top"><a id="a25c74750f388718c3e2a1caa374343d8"></a>
<a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a25c74750f388718c3e2a1caa374343d8">ecrt_slave_config_create_reg_request_err</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, size_t size)</td></tr>
<tr class="memdesc:a25c74750f388718c3e2a1caa374343d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__ApplicationInterface.html#ga1805e57c39e7bb12840c5e2589021dbe" title="Create a register request to exchange EtherCAT register contents during realtime operation. ">ecrt_slave_config_create_reg_request()</a>, but with ERR_PTR() return value. <br /></td></tr>
<tr class="separator:a25c74750f388718c3e2a1caa374343d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1805e57c39e7bb12840c5e2589021dbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga1805e57c39e7bb12840c5e2589021dbe">ecrt_slave_config_create_reg_request</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, size_t size)</td></tr>
<tr class="memdesc:ga1805e57c39e7bb12840c5e2589021dbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a register request to exchange EtherCAT register contents during realtime operation.  <a href="group__ApplicationInterface.html#ga1805e57c39e7bb12840c5e2589021dbe">More...</a><br /></td></tr>
<tr class="separator:ga1805e57c39e7bb12840c5e2589021dbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a842ef954d1e61932952886b2ea2a8deb"><td class="memItemLeft" align="right" valign="top"><a id="a842ef954d1e61932952886b2ea2a8deb"></a>
<a class="el" href="group__ApplicationInterface.html#ga498dd422118de7095af5287ef9a6eed1">ec_voe_handler_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="slave__config_8c.html#a842ef954d1e61932952886b2ea2a8deb">ecrt_slave_config_create_voe_handler_err</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, size_t size)</td></tr>
<tr class="memdesc:a842ef954d1e61932952886b2ea2a8deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__ApplicationInterface.html#ga6341627f6bf764312dd6e8c3140e9be1" title="Create an VoE handler to exchange vendor-specific data during realtime operation. ...">ecrt_slave_config_create_voe_handler()</a>, but with ERR_PTR() return value. <br /></td></tr>
<tr class="separator:a842ef954d1e61932952886b2ea2a8deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6341627f6bf764312dd6e8c3140e9be1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ApplicationInterface.html#ga498dd422118de7095af5287ef9a6eed1">ec_voe_handler_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga6341627f6bf764312dd6e8c3140e9be1">ecrt_slave_config_create_voe_handler</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, size_t size)</td></tr>
<tr class="memdesc:ga6341627f6bf764312dd6e8c3140e9be1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an VoE handler to exchange vendor-specific data during realtime operation.  <a href="group__ApplicationInterface.html#ga6341627f6bf764312dd6e8c3140e9be1">More...</a><br /></td></tr>
<tr class="separator:ga6341627f6bf764312dd6e8c3140e9be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b99c8912ed48a4ddce3d9470083dee1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#ga6b99c8912ed48a4ddce3d9470083dee1">ecrt_slave_config_state</a> (const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, <a class="el" href="structec__slave__config__state__t.html">ec_slave_config_state_t</a> *state)</td></tr>
<tr class="memdesc:ga6b99c8912ed48a4ddce3d9470083dee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outputs the state of the slave configuration.  <a href="group__ApplicationInterface.html#ga6b99c8912ed48a4ddce3d9470083dee1">More...</a><br /></td></tr>
<tr class="separator:ga6b99c8912ed48a4ddce3d9470083dee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3d42e8188c64eaf794e8dc91a61b60b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ApplicationInterface.html#gaa3d42e8188c64eaf794e8dc91a61b60b">ecrt_slave_config_idn</a> (<a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *sc, uint8_t drive_no, uint16_t idn, <a class="el" href="group__ApplicationInterface.html#ga18c064146090e45d36c05876c546caea">ec_al_state_t</a> state, const uint8_t *data, size_t size)</td></tr>
<tr class="memdesc:gaa3d42e8188c64eaf794e8dc91a61b60b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an SoE IDN configuration.  <a href="group__ApplicationInterface.html#gaa3d42e8188c64eaf794e8dc91a61b60b">More...</a><br /></td></tr>
<tr class="separator:gaa3d42e8188c64eaf794e8dc91a61b60b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>EtherCAT slave configuration methods. </p>

<p class="definition">Definition in file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a89e3c5573a34a9e495cf6b467e223af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e3c5573a34a9e495cf6b467e223af4">&#9670;&nbsp;</a></span>ec_slave_config_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_slave_config_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga60ec31b46fcf7994c511359402c64baa">ec_master_t</a> *&#160;</td>
          <td class="paramname"><em>master</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>alias</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>position</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>vendor_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>product_code</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave configuration constructor. </p>
<p>See <a class="el" href="group__ApplicationInterface.html#gaa190a5d3aa2a72b8950ef93aa7baab0b" title="Obtains a slave configuration. ">ecrt_master_slave_config()</a> for the usage of the <em>alias</em> and <em>position</em> parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">master</td><td>EtherCAT master. </td></tr>
    <tr><td class="paramname">alias</td><td>Slave alias. </td></tr>
    <tr><td class="paramname">position</td><td>Slave position. </td></tr>
    <tr><td class="paramname">vendor_id</td><td>Expected vendor ID. </td></tr>
    <tr><td class="paramname">product_code</td><td>Expected product code. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00055">55</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a76d9ec03885e1734c4ca7fd27490b193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76d9ec03885e1734c4ca7fd27490b193">&#9670;&nbsp;</a></span>ec_slave_config_clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_slave_config_clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slave configuration destructor. </p>
<p>Clears and frees a slave configuration object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00102">102</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a6c908bc3c5044575e96e5dc1554c9bc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c908bc3c5044575e96e5dc1554c9bc1">&#9670;&nbsp;</a></span>ec_slave_config_prepare_fmmu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_slave_config_prepare_fmmu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga80023c0c77cb39ae1cd70c9d8e5269fc">ec_domain_t</a> *&#160;</td>
          <td class="paramname"><em>domain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>sync_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga703c4e47384b3601e7605d6d910aaba1">ec_direction_t</a>&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prepares an FMMU configuration. </p>
<p>Configuration data for the FMMU is saved in the slave config structure and is written to the slave during the configuration. The FMMU configuration is done in a way, that the complete data range of the corresponding sync manager is covered. Seperate FMMUs are configured for each domain. If the FMMU configuration is already prepared, the function does nothing and returns with success.</p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">&gt;=0</td><td>Success, logical offset byte address. </td></tr>
    <tr><td class="paramname">&lt;0</td><td>Error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">domain</td><td>Domain. </td></tr>
    <tr><td class="paramname">sync_index</td><td>Sync manager index. </td></tr>
    <tr><td class="paramname">dir</td><td>PDO direction. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00170">170</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="abb5cb481f42d644f581e52d5c876bfb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb5cb481f42d644f581e52d5c876bfb9">&#9670;&nbsp;</a></span>ec_slave_config_attach()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ec_slave_config_attach </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attaches the configuration to the addressed slave object. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>Success. </td></tr>
    <tr><td class="paramname">&lt;0</td><td>Error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00208">208</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="af8f9c0e68dfe4781fa922ca9c4ec7e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8f9c0e68dfe4781fa922ca9c4ec7e94">&#9670;&nbsp;</a></span>ec_slave_config_detach()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ec_slave_config_detach </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Detaches the configuration from a slave object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00266">266</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="ae0ad39c4f100b0d18140b38db27fa52f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0ad39c4f100b0d18140b38db27fa52f">&#9670;&nbsp;</a></span>ec_slave_config_sdo_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ec_slave_config_sdo_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of SDO configurations. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of SDO configurations. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00372">372</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="ae6ccda0b55f86c5cd0e77ec5b51fac56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6ccda0b55f86c5cd0e77ec5b51fac56">&#9670;&nbsp;</a></span>ec_slave_config_get_sdo_by_pos_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a>* ec_slave_config_get_sdo_by_pos_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds an SDO configuration via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00394">394</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a833fa6107e6071bf7e37df298dcd41ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833fa6107e6071bf7e37df298dcd41ac">&#9670;&nbsp;</a></span>ec_slave_config_idn_count()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int ec_slave_config_idn_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of IDN configurations. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of SDO configurations. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00416">416</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a5767eb592be624ea3af8dfae05d7622d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5767eb592be624ea3af8dfae05d7622d">&#9670;&nbsp;</a></span>ec_slave_config_get_idn_by_pos_const()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structec__soe__request__t.html">ec_soe_request_t</a>* ec_slave_config_get_idn_by_pos_const </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds an IDN configuration via its position in the list. </p>
<p>Const version.</p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00438">438</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a0e431ae80ee0465f6629ff33ef3e8290"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e431ae80ee0465f6629ff33ef3e8290">&#9670;&nbsp;</a></span>ec_slave_config_find_sdo_request()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga557aaf4c32cb56eee5e76fb6063628db">ec_sdo_request_t</a>* ec_slave_config_find_sdo_request </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a CoE handler via its position in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00460">460</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="a23fe8c4e37cd9bea5cc346edfd890963"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23fe8c4e37cd9bea5cc346edfd890963">&#9670;&nbsp;</a></span>ec_slave_config_find_reg_request()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga85a829c5133104f0d21f9e6684201d79">ec_reg_request_t</a>* ec_slave_config_find_reg_request </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a register handler via its position in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00482">482</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
<a id="ae096a128f1552f49f5f048a2a08a5beb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae096a128f1552f49f5f048a2a08a5beb">&#9670;&nbsp;</a></span>ec_slave_config_find_voe_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ApplicationInterface.html#ga498dd422118de7095af5287ef9a6eed1">ec_voe_handler_t</a>* ec_slave_config_find_voe_handler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ApplicationInterface.html#ga81f6717d9d4157df53b863e5ee3b04a4">ec_slave_config_t</a> *&#160;</td>
          <td class="paramname"><em>sc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a VoE handler via its position in the list. </p>
<dl class="section return"><dt>Returns</dt><dd>Search result, or NULL. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sc</td><td>Slave configuration. </td></tr>
    <tr><td class="paramname">pos</td><td>Position in the list. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="slave__config_8c_source.html#l00504">504</a> of file <a class="el" href="slave__config_8c_source.html">slave_config.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c1346cf4828efdd0d2baf0d391d01b77.html">master</a></li><li class="navelem"><a class="el" href="slave__config_8c.html">slave_config.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
